---
layout: example.html
title: Custom Controls
shortdesc: Shows how to create custom controls.
docs: >
  This example creates a "rotate to north" button.
tags: "custom, control"
---
<div id="map" class="map"></div>
